package com.cucn.mms.common.service.Interface;

import com.cucn.mms.domain.MmsMediaInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author 执念
* @description 针对表【mms_media_info】的数据库操作Service
* @createDate 2023-04-24 18:58:50
*/
public interface MediaManageService{

    int getTotal();

    Map<String, Object> deleteMediaById(String mediaId);

    Map<String, Object> updateMedia(Map<String, Object> params);

    Map<String, Object> addMedia(String mediaName, Integer mediaCategory, Integer mediaGrade, String mediaUrl);

    Map<String, Object> selectMediaByType(String keyword, String searchType, int offset, int limit);
}
